//
//  VTKWriter.h
//  NSESolver
//
//  Created by Patrick Zulian on 5/9/11.
//  Copyright 2011 ICS - USI - Lugano. All rights reserved.
//

#ifndef NSESolver_VTKWriter_H
#define NSESolver_VTKWriter_H


#include "AbstractWriter.h"

namespace nsesolver {
    
    class VTKWriter : public AbstractWriter {
    public:
       
        VTKWriter(const std::string & path, const mpi::CartesianTopology &cart);
        
        void solverStarted(CFDProblem &problem);
        void solverStep(CFDProblem &problem, const int q );
        void writeMatrix(const CFDProblem &problem, const Matrixd &m, const std::string &varName, const std::string & filename ) const;
        
        
    };
}


#endif //NSESolver_VTKWriter_H
